import { configureStore } from '@reduxjs/toolkit'
import cartLisrReducer from './modules/cartListStore'
import orderListReducer from './modules/orderListStore'
import userStoreReducer from './modules/userStore'
const store = configureStore({
  reducer: {
    // 购物车模块
    cartStore: cartLisrReducer,
    // 订单模块
    orderStore: orderListReducer,
    // 用户模块
    userStore: userStoreReducer
  }
})

export default store